﻿using AdminApiTemplate.Infrastructures;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Promote.Infrastructures.Domains
{
    /// <summary>
    /// 后台账号
    /// </summary>
    [Description("后台账号")]
    [Table("AdminUser")]
    public class AdminUser : TableModelBase
    {
        /// <summary>
        /// 中文名
        /// </summary>
        [Description("中文名")]
        public string ChineseName { get; set; }

        /// <summary>
        /// 英文名
        /// </summary>
        [Description("英文名")]
        public string EnglishName { get; set; }

        /// <summary>
        /// 是否禁用
        /// </summary>
        [Description("是否禁用")]
        public bool? IsDisabled { get; set; }

        /// <summary>
        /// 禁用时间
        /// </summary>
        [Description("禁用时间")]
        public DateTime? DisableTime { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        [Description("邮箱")]
        public string Email { get; set; }


        /// <summary>
        /// 用户名
        /// </summary>
        [Description("用户名")]
        public string UserName { get; set; }

        /// <summary>
        /// 用户密码
        /// </summary>
        [Description("用户密码")]
        public string UserPass { get; set; }

        /// <summary>
        /// 密码加盐
        /// </summary>
        [Description("密码加盐")]
        public string PassSalt { get; set; }

        /// <summary>
        /// 企业微信
        /// </summary>
        [Description("企业微信")]
        public string WorkWx { get; set; }
    }
}
